-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Implement llama-pull tool #16132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Implement llama-pull tool #16132
Conversation
Complete llama-pull tool with documentation Signed-off-by: Eric Curtin <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this can be a nice tool, but one concern is that the tool is not originally asked by users. Therefore, I'm doubt if users will actually know about and use it.
if (!params.model.hf_repo.empty() && !params.model.docker_repo.empty()) { | ||
LOG_ERR("error: cannot specify both -hf and -dr options\n"); | ||
print_usage(argc, argv); | ||
return 1; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be checked inside common_params_parse
, right?
// Initialize llama backend for download functionality | ||
llama_backend_init(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why we need to initialize the inference backend to download the model?
LOG(" -o, --output PATH output path for downloaded model\n"); | ||
LOG(" (default: cache directory)\n"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure that the -o
is currently handled this way?
Complete llama-pull tool with documentation